/*
 * @Author: xsh201931773442
 * @Date: 2023-03-13 11:49:52
 * @LastEditTime: 2023-04-07 20:53:27
 * @FilePath: \animePC\src\API\apiList.js
 * @Description: 
 * 
 */
// // 在导入时使用 @ts-ignore
// @ts-ignore
import { getHttp, postHttp, putHttp, deleteHttp, postHttpStr } from './request' //接口方法引入
import axios from 'axios'


//使用async await来等待getHttp异步请求结果
export const predict_data = async (reqData: any) => {
    const data = await getHttp('/pre/' + reqData)
    return data
}
export const predict_stop_data = async (reqData: any) => {
    const data = await getHttp('/stop_pre/' + reqData)
    return data
}
export const anomaly_res_data = async (reqData: any) => {
    const data = await getHttp('/anomaly_detect/' + reqData)
    return data
}

export const save_predict_label = async (reqData: any) => {
    const data = await getHttp('/save_predict_label/' + reqData)
    return data
}